<?php echo form_open('login/oubli', array('id' => 'form_oubli'));?>
<div align="center" class="divrondform">
	<span class="moyenblanc gras">Mot de passe oubli&eacute;<br></span>
	Entrez votre login ou votre adresse mail.
	<br><br>
	<table width="1000" border="0" align="center" style="color:#FFF">
    		<td align="right" width="45%">Login :&nbsp;</td>
    		<td align="left"><input name="login" id="login" type="text" size="15" maxlength="15" value="<?php echo set_value('login'); ?>"/>&nbsp;<font color="red"><?php echo form_error('login','* ',' ')?></font></td>
  		</tr>
  		<tr>
    		<td align="right" width="45%">E-mail :&nbsp;</td>
    		<td align="left"><input name="email" id="email" type="text" size="40" maxlength="64" value="<?php echo set_value('email'); ?>"/>&nbsp;<font color="red"><?php echo form_error('email','* ',' ')?></font></td>
  		</tr>
   		<tr align="center">
    		<td colspan="2"><input name="loginemail" id="loginemail" type="hidden" maxlength="80" value="<?php echo set_value('loginemail'); ?>"/>&nbsp;<font color="red"><?php echo form_error('loginemail','* ',' ')?></font></td>
  		</tr>
  	</table>
  	<br>
	<input class="boutons" name="BOubli" type="submit" value="Envoyer le mot de passe" style="width:130 px" />
	<input class="boutons" name="BOubli" type="submit" value="Retour" style="width:130 px" />
	<br>
</div>    
</form>

<script>
setTimeout(function() {	$("#login").focus(); }, 1000);

$(function() {
	$("#form_oubli").submit(function() {
		$("#loginemail").val($("#login").val() + $("#email").val());
		return true;
	});
});

</script>	

